package com.fc.mall.mapper;

import com.fc.mall.model.PmsDeliveryTemplate;
import com.fc.mall.model.PmsDeliveryTemplateExample;
import java.util.List;

import org.apache.ibatis.annotations.Param;

public interface PmsDeliveryTemplateMapper {
    int countByExample(PmsDeliveryTemplateExample example);

    int deleteByExample(PmsDeliveryTemplateExample example);

    int deleteByPrimaryKey(Long id);

    int insert(PmsDeliveryTemplate record);

    int insertSelective(PmsDeliveryTemplate record);

    List<PmsDeliveryTemplate> selectByExample(PmsDeliveryTemplateExample example);

    PmsDeliveryTemplate selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") PmsDeliveryTemplate record, @Param("example") PmsDeliveryTemplateExample example);

    int updateByExample(@Param("record") PmsDeliveryTemplate record, @Param("example") PmsDeliveryTemplateExample example);

    int updateByPrimaryKeySelective(PmsDeliveryTemplate record);

    int updateByPrimaryKey(PmsDeliveryTemplate record);
}